package com.lanchetech.user.service;

import com.lanchetech.bean.request.ActivityBindSpuReq;
import com.lanchetech.bean.request.OrderReq;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.response.SpuResp;
import com.lanchetech.entity.User;
import com.lanchetech.user.config.ReturnPayInfoVO;

import javax.servlet.http.HttpServletRequest;

public interface ActivityService {

    /**
     * 新人专区活动下单
     * @param user
     * @param req
     * @param httpServletRequest
     * @return
     */
    ResultData<ReturnPayInfoVO> createNewUserPayOrder(User user, OrderReq req, HttpServletRequest httpServletRequest);

    /**
     * 用户查看新人专区活动商品列表
     * @param req
     * @return
     */
    ResultData<BasePageResp<SpuResp>> getBindPage(ActivityBindSpuReq req);
}
